﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace theRift
{
    public class LightMaterial
    {
        protected Vector3 diffuseColor;
        protected Vector3 specularColor;
        protected float specularPower;

        public Vector3 DiffuseColor
        {
            get { return diffuseColor; }
            set { diffuseColor = value; }
        }

        public Vector3 SpecularColor
        {
            get { return specularColor; }
            set { specularColor = value; }
        }

        public float SpecularPower
        {
            get { return specularPower; }
            set { specularPower = value; }
        }

        // Default light material
        public LightMaterial()
            : this(new Vector3(0.8f), new Vector3(0.3f), 32.0f)
        {
        }

        public LightMaterial(Vector3 diffuseColor, Vector3 specularColor,
            float specularPower)
        {
            this.diffuseColor = diffuseColor;
            this.specularColor = specularColor;
            this.specularPower = specularPower;
        }
    }
}
